// sale_coin_model.dart
import 'package:json_annotation/json_annotation.dart';

part 'sale_coin_model.g.dart';

@JsonSerializable()
class SaleCoinModel {
  final int? balanceCoinAmount;
  final double? coinConvertRatio;

  SaleCoinModel({
    this.balanceCoinAmount,
    this.coinConvertRatio,
  });

  factory SaleCoinModel.fromJson(Map<String, dynamic> json) =>
      _$SaleCoinModelFromJson(json);

  Map<String, dynamic> toJson() => _$SaleCoinModelToJson(this);
}